package day5;

/**
 * @author oldliu
 * @since 1.0
 */
public class Arr1 {
    public static void main(String[] args) {
        int []ar=new int[10];
        ar[0]=88;
        ar[1]=87;
        ar[9]=77;
        //System.out.println(ar);
        System.out.println(ar[1]);
        ar[1]+=12;
        System.out.println(ar[1]);
        System.out.println(ar[7]);
        //double a2[]=new double[1000000000];//内存耗尽
        int[]s={1,4,6};
        int []s2=new int[]{1,4,6,9,10};
        int []s4=new int[10];
        //s4={1,1,3,5,10};
        System.out.println(s2.length+" 是长度");
        char c[]={'A','B','F','流'};//特殊
        System.out.println(c);
    }
}
